package com.fzfnn.scrapbook.service;

import com.fzfnn.scrapbook.entity.CollectionFolder;
import com.fzfnn.scrapbook.util.R;

import java.util.List;

public interface CollectionService {
    R createFolder(String token, String name);
    R getUserFolders(String token, Integer userid);
   R addToCollection(String token, Long journalId, Long folderId);
    R isCollected(String token, Long journalId);
    R removeFromCollection(String token, Long journalId);
    R deleteFolder(Long folderId, String token);
    R getCollectionsByFolder(String token, Long folderId);


    R updateFolderName(String token, Long folderId, String name);
}
